#ifndef LIST_H
#define LIST_H

#include "stdio.h"
#include "stdlib.h"
#include "stu.h"
#include "string.h"

typedef struct node 
{
    Student data;
    struct node *next;
}Node;

extern Node *nodeHead;

extern Node* createNodeList();
extern void insertNodeAfter(Student data);
extern int listLength();
extern void printList();
extern Node *findNodeByName(char* name);
extern int deleteNodeByName(char* name);
extern int ltofile();
extern int ftolist();

#endif